LL LPTIM APIs listing for migration

This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, enumerations, structures, functions, and macros.

LL LPTIM constants

HAL1

series

HAL2

LL_LPTIM_DIER_CC1IFIE

u5, h5

LL_LPTIM_DIER_CC1IE

LL_LPTIM_DIER_CC2IFIE

u5, h5

LL_LPTIM_DIER_CC2IE

LL_LPTIM_LPTIM1_IC2_RMP_HSE_1M

h5

LL_LPTIM_LPTIM1_IC2_RMP_RCC_HSE_1MHZ

LL_LPTIM_OUTPUT_POLARITY_INVERSE

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_OCPOLARITY_LOW

LL_LPTIM_OUTPUT_POLARITY_REGULAR

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_OCPOLARITY_HIGH

LL_LPTIM_OUTPUT_WAVEFORM_PWM

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_OC_WAVEFORM_PWM

LL_LPTIM_OUTPUT_WAVEFORM_SETONCE

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_OC_WAVEFORM_SETONCE

LL_LPTIM_UPDATE_MODE_ENDOFPERIOD

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_PRELOAD_ENABLED

LL_LPTIM_UPDATE_MODE_IMMEDIATE

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_PRELOAD_DISABLED

LL_LPTIM_IER_ARRMIE

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_IER_ARROKIE

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_IER_CMPMIE

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_IER_CMPOKIE

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_IER_DOWNIE

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_DIER_DOWNIE

LL_LPTIM_IER_EXTTRIGIE

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_DIER_EXTTRIGIE

LL_LPTIM_IER_REPOKIE

u5, h5, l4

LL_LPTIM_DIER_REPOKIE

LL_LPTIM_IER_UEIE

u5, h5, l4

LL_LPTIM_DIER_UEIE

LL_LPTIM_IER_UPIE

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_DIER_UPIE

LL_LPTIM_INPUT1_SRC_COMP1_COMP2

l4, g0, h7

Not implemented yet in HAL2.

LL_LPTIM_INPUT1_SRC_COMP7

g4

Not implemented yet in HAL2.

LL_LPTIM_INPUT1_SRC_LPTIM1_CH2

h5

Not implemented yet in HAL2.

LL_LPTIM_INPUT1_SRC_LPTIM2_CH1

h5

Not implemented yet in HAL2.

LL_LPTIM_INPUT1_SRC_PAD_AF

f4

Not implemented yet in HAL2.

LL_LPTIM_INPUT1_SRC_PAD_PA4

f4

Not implemented yet in HAL2.

LL_LPTIM_INPUT1_SRC_PAD_PB9

f4

Not implemented yet in HAL2.

LL_LPTIM_INPUT1_SRC_SAI4_FS_A

h7

Not implemented yet in HAL2.

LL_LPTIM_INPUT1_SRC_SAI4_FS_B

h7

Not implemented yet in HAL2.

LL_LPTIM_INPUT1_SRC_TIM_DAC

f4

Not implemented yet in HAL2.

LL_LPTIM_ISR_CMPM

l4, f4, g0, g4, h7

LL_LPTIM_ISR_CMPM

LL_LPTIM_ISR_CMPOK

l4, f4, g0, g4, h7

LL_LPTIM_ISR_CMPOK

LL_LPTIM_LPTIM2_IC1_RMP_EVENTOUT

h5

Not implemented yet in HAL2.

LL_LPTIM_LPTIM2_IC1_RMP_MCO2

h5

Not implemented yet in HAL2.

LL_LPTIM_LPTIM2_IC2_RMP_HSI_8

h5

Not implemented yet in HAL2.

LL_LPTIM_LPTIM5_IC1_RMP_GPIO

u5, h5

Not implemented yet in HAL2.

LL_LPTIM_LPTIM5_IC2_RMP_GPIO

u5, h5

Not implemented yet in HAL2.

LL_LPTIM_LPTIM6_IC1_RMP_GPIO

u5, h5

Not implemented yet in HAL2.

LL_LPTIM_LPTIM6_IC2_RMP_GPIO

u5, h5

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_COMP3

g4

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_COMP4

g4

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_COMP5

g4

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_COMP6

g4

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_COMP7

g4

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_DFSDM2_BRK

h7

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_GPDMA_CH0_TCF

u5

LL_LPTIM_TRIG_SOURCE_GPDMA_CH0_TC

LL_LPTIM_TRIG_SOURCE_GPDMA_CH1_TCF

u5

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_GPDMA_CH4_TCF

u5

LL_LPTIM_TRIG_SOURCE_GPDMA_CH4_TC

LL_LPTIM_TRIG_SOURCE_LPDMA_CH0_TCF

u5

LL_LPTIM_TRIG_SOURCE_LPDMA_CH0_TC

LL_LPTIM_TRIG_SOURCE_LPDMA_CH1_TCF

u5

LL_LPTIM_TRIG_SOURCE_LPDMA_CH1_TC

LL_LPTIM_TRIG_SOURCE_LPDMA_CH2_TCF

u5

LL_LPTIM_TRIG_SOURCE_LPDMA_CH2_TC

LL_LPTIM_TRIG_SOURCE_LPTIM2

u5, h5

LL_LPTIM_TRIG_SOURCE_LPTIM2_CH1

LL_LPTIM_TRIG_SOURCE_LPTIM3

u5, h5

LL_LPTIM_TRIG_SOURCE_LPTIM3_CH1

LL_LPTIM_TRIG_SOURCE_LPTIM4

u5, h5

LL_LPTIM_TRIG_SOURCE_LPTIM4_OUT

LL_LPTIM_TRIG_SOURCE_LPTIM5

u5, h5, h7, h7p

LL_LPTIM_TRIG_SOURCE_LPTIM5_OUT

LL_LPTIM_TRIG_SOURCE_RTCALARMA

f4, g0, g4, u5, h5, h7, l4

LL_LPTIM_TRIG_SOURCE_RTC_ALRA_TRG

LL_LPTIM_TRIG_SOURCE_RTCALARMB

f4, g0, g4, u5, h5, h7, l4

LL_LPTIM_TRIG_SOURCE_RTC_ALRB_TRG

LL_LPTIM_TRIG_SOURCE_RTCTAMP1

f4, g0, g4, u5, h5, h7, l4

LL_LPTIM_TRIG_SOURCE_TAMP_TRG1

LL_LPTIM_TRIG_SOURCE_RTCTAMP2

f4, g0, g4, u5, h5, h7, l4

LL_LPTIM_TRIG_SOURCE_TAMP_TRG2

LL_LPTIM_TRIG_SOURCE_RTCTAMP3

f4, g0, g4, u5, h5, h7, l4

LL_LPTIM_TRIG_SOURCE_TAMP_TRG3

LL_LPTIM_TRIG_SOURCE_SAI4_FS_A

h7

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_SAI4_FS_B

h7

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_TIM1_TRGO

f4

Not implemented yet in HAL2.

LL_LPTIM_TRIG_SOURCE_TIM5_TRGO

f4

Not implemented yet in HAL2.

LL LPTIM macros

HAL1

series

HAL2

LL_LPTIM_ReadReg

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_READ_REG

LL_LPTIM_WriteReg

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_WRITE_REG

LL LPTIM structures

HAL1

series

HAL2

LL_LPTIM_InitTypeDef

u5, h5, l4, f4, g0, g4, h7

Removed / sequence changed

LL LPTIM functions

HAL1

series

HAL2

LL_LPTIM_SetInput1Src

u5, h5, l4, f4, g0, g4, h7

LL_LPTIM_SetInput1Source

LL_LPTIM_SetInput2Src

u5, h5, l4, g0, g4, h7

LL_LPTIM_SetInput2Source

LL_LPTIM_StructInit

u5, h5, l4, f4, g0, g4, h7

Removed / sequence changed

LL_LPTIM_Init

u5, h5, l4, f4, g0, g4, h7

Removed / sequence changed

LL_LPTIM_DeInit

u5, h5, l4, f4, g0, g4, h7

Removed / sequence changed

LL_LPTIM_ClearFlag_CMPM

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_ClearFlag_CMPOK

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_ConfigOutput

u5, h5, l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_DisableIT_CMPM

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_DisableIT_CMPOK

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_EnableIT_CMPM

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_EnableIT_CMPOK

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_GetCompare

u5, h5, l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_GetPolarity

u5, h5, l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_IsActiveFlag_CMPM

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_IsActiveFlag_CMPOK

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_IsEnabledIT_CMPM

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_IsEnabledIT_CMPOK

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_SetCompare

u5, h5, l4, f4, g0, g4, h7

Not implemented yet in HAL2.

LL_LPTIM_SetPolarity

u5, h5, l4, f4, g0, g4, h7

Not implemented yet in HAL2.